/**
 * File: cs3343-Satir-Therapy/src/program/Record.java
 *  
 * Responsible author: Lai Hing Hung, Dennis					Revision no: 1.0.0
 * Checked in at date: 2012/02/28 09:50
 * Checked out at date: 2012/03/05 20:48
 * Log: used to hold game records; define the attributes like date, numberOfPlayers and players.
 * 
 * Responsible author: Lai Hing Hung, Dennis
 * Checked in at date: 2012/04/06 17:02
 * Log: getDate(), getNmberOfPlayer() and getPlayers()
 * 
 */
package program;

import java.util.*;

// TODO: Auto-generated Javadoc
/**
 * The Class Record.
 */
public class Record {
	
	/** The date. */
	String date;
	
	/** The number of players. */
	String numberOfPlayers;
	
	/** The players. */
	Vector<Player> players;
	
	/**
	 * Instantiates a new record.
	 *
	 * @param date the date
	 * @param numberOfPlayers the number of players
	 * @param players the players
	 */
	public Record(String date, String numberOfPlayers, Vector<Player> players){
		this.date = date;
		this.numberOfPlayers = numberOfPlayers;
		this.players = players;
	}
	
	/**
	 * Gets the date.
	 *
	 * @return the date
	 */
	public String getDate(){
		return date;
	}
	
	/**
	 * Gets the number of players.
	 *
	 * @return the number of players
	 */
	public String getNumberOfPlayers(){
		return numberOfPlayers;
	}
	
	/**
	 * Gets the players.
	 *
	 * @return the players
	 */
	public Vector<Player> getPlayers(){
		return players;
	}
}
